﻿<Page
    x:Class="Tuan.DealPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Tuan"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">


    
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="Assets/bg04.jpg"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="140"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>

        <Grid Margin="10,-3,-10,3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Button x:Name="backButton" Click="backButton_Click_1" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource BackButtonStyle}"/>
            <TextBlock x:Name="pageTitle" Text="团聚北京美食" Grid.Column="1" Style="{StaticResource PageHeaderTextStyle}" FontFamily="KaiTi"></TextBlock>
        </Grid>
        <Grid Grid.Row="1" Margin="100,10,0,0">
            <TextBlock x:Name="shortTitle" Text="便宜坊烤鸭店" Grid.Row="0" FontSize="25" Foreground="#FF1B52E6"></TextBlock>
        </Grid>
        <Grid Grid.Row="2" Margin="100,10,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="400"></ColumnDefinition>
                <ColumnDefinition Width="*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0" Margin="0,0,60,0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="*"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid Background="White" Grid.Row="0">
                    <Image Source="Assets/discount02.jpg" Width="110" Height="110" Margin="110,0,0,0"/>
                    <TextBlock x:Name="discount" Margin="100,40,0,0" Text="5.0" FontSize="50" Foreground="#FFF01010" FontWeight="Bold"/>
                </Grid>
                <StackPanel Background="White" Grid.Row="1">
                    <TextBlock x:Name="newprice" Margin="0,10,0,0" Text="¥268"  FontSize="40" HorizontalAlignment="Center" Foreground="#FFF51414" FontWeight="Bold" ></TextBlock>
                    <TextBlock x:Name="olderprice" Margin="0,10,0,0" Text="原价558" FontSize="25" HorizontalAlignment="Center" Foreground="#FF574444" FontWeight="Bold"></TextBlock>
                </StackPanel>
                <StackPanel Grid.Row="2" Height="150">
                    <Button Height="150" Width="350" HorizontalAlignment="Center">
                        <Button.Background>
                            <ImageBrush ImageSource="Assets/logo1.PNG"/>
                        </Button.Background>
                    </Button>
                </StackPanel>
                <StackPanel Background="DarkRed" Grid.Row="3">
                <TextBlock x:Name="count" Margin="0,10,0,0" Text="948人已购买" FontSize="25" HorizontalAlignment="Center"></TextBlock>
                <TextBlock x:Name="info" Margin="0,10,0,0" Text="团购数量有限，下单要快哟"  FontSize="18" HorizontalAlignment="Center"></TextBlock>
                </StackPanel>
                <StackPanel Background="DarkGreen" Grid.Row="4" Margin="0,5,0,0">
                    <TextBlock x:Name="deadline" Margin="0,10,0,10" Text="剩余时间  3天以上"  FontSize="15" HorizontalAlignment="Center"></TextBlock>
                </StackPanel>
            </Grid>
            
            <Grid Grid.Column="1">
                             
                <StackPanel Width="480"  HorizontalAlignment="Left"  VerticalAlignment="Top" Height="500" Orientation="Vertical">
                    <TextBlock Text="仅售268元,价值558元4人套餐!中华老字号,经典美食传承!膏肥皮脆,无穷回味!(另有售价518元8人套餐可选)" Margin="0,0,18,20" Style="{StaticResource SubheaderTextStyle}" MaxHeight="60"/>
                     <FlipView x:Name="flipView1" VerticalAlignment="Top" Height="300">
                        <Image Source="Assets/food01.jpg" />
                        <Image Source="Assets/food002.jpg" />
                        <Image Source="Assets/food003.jpg" />
                    </FlipView>
                    <TextBlock Text="【特别提示】 
- 有效期:2012-05-25-2012-07-10/n

- 仅限世茂百货店使用/n
- 仅限大厅堂吃，每桌限用1张
- 建议至少提前1天致电预约，减少您的排队等位时间
- 每天最多接受团购券50张
- 本团购券不限人数，4人套餐建议4人享用，8人套餐建议8人享用
- 团购券请于点单前出示
- 不可与店内其他优惠同享
" Margin="0,0,18,0" Style="{StaticResource BodyTextStyle}"/>
                </StackPanel>
                
                
      
            </Grid>
            
        </Grid>
    </Grid>
</Page>